<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="ww" uri="webwork"%>
<ww:bean name="'com.css.apps.base.dict.service.DictMan'" id="dictID" />
<form class="form-horizontal form-validate" id="user_skill_mini_form" style="width: 900px;">
    <input type="hidden" id="operFlag" name="operFlag" value="<ww:property value='operFlag'/>" />
    <input type="hidden" id="userId" name="userId" value="<ww:property value='userId'/>" />
    <input type="hidden" id="lableId" name="lableId" value="<ww:property value='lableId'/>" />
    <input type="hidden" id="uuid" name="uuid" value="<ww:property value='userInfoDialogVo.userSkillVo.uuid'/>" />
    <input type="hidden" id="userInfoDialogVo.userSkillVo.userId" name="userInfoDialogVo.userSkillVo.userId" value="<ww:property value='userId'/>" />
    <input type="hidden" id="userInfoDialogVo.userSkillVo.uuid" name="userInfoDialogVo.userSkillVo.uuid" value="<ww:property value='userInfoDialogVo.userSkillVo.uuid'/>" />
    <div class="content">
        <div class="box box-primary">
            <div class="box-body previewTable tab-content">
                <table class="table table-bordered editTable form-group-sm">
                    <thead>
                    <tr>
                        <th colspan="12">专业技术信息</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr class="firstRow">
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                        <td colspan="1" class="col-md-1"></td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">专业技术资格名称</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userSkillVo.skillname" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userSkillVo.skillname'/>">
                        </td>
                        <td class="tdLable" colspan="2">专业技术资格代码</td>
                        <td colspan="4">
                            <input type="text" name="userInfoDialogVo.userSkillVo.skillcode" class="form-control" value="<ww:property value='userInfoDialogVo.userSkillVo.skillcode'/>" onclick="showCustomizedContent(this);" readonly style="cursor:pointer;"/>
                            <div class="customizedContent">
                                <div class="itemFilter">
                                    <input type="text" style="width:88%; border-radius: 3px;" placeholder="输入关键字自动进行检索" oninput="itemFilter('d_professionalTechnicalDuty',this)">
                                </div>
                                <ul class="customizedSelect">
                                    <ww:iterator value="#dictID.getDictType('d_professionalTechnicalDuty')" id="data" status="data">
                                        <li id="<ww:property value='code'/>" class="customizedOption" onclick="chooseItem(this)"><ww:property value="name"/></li>
                                    </ww:iterator>
                                </ul>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">获得资格日期</td>
                        <td colspan="4">
                            <input type="text" class="Wdate form-control" name="userInfoDialogVo.userSkillVo.obtainqualificationtime" readonly="readonly"
                                   onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" value='<ww:property value="new java.text.SimpleDateFormat('yyyy-MM-dd').format(userInfoDialogVo.userSkillVo.obtainqualificationtime)"/>'>
                        </td>
                        <td class="tdLable" colspan="2">取得资格途径</td>
                        <td colspan="4">
                            <ww:select attributes="class='form-control'" name="userInfoDialogVo.userSkillVo.obtainqualificationway" value="userInfoDialogVo.userSkillVo.obtainqualificationway" list="#dictID.getDictList('d_obtainQualificationWay', '请选择')"
                                       listKey="code" listValue="name">
                            </ww:select>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">评委会或考试名称</td>
                        <td colspan="4">
                            <input name="userInfoDialogVo.userSkillVo.judgingname" type="text" class="form-control"  value="<ww:property value='userInfoDialogVo.userSkillVo.judgingname'/>">
                        </td>
                        <td class="tdLable" colspan="2"></td>
                        <td colspan="4">
                        </td>
                    </tr>
                    <tr>
                        <td class="tdLable" colspan="2">备注</td>
                        <td colspan="10">
                            <textarea  name="remark" rows="5" cols="10" class="form-control" ><ww:property value="remark" /></textarea>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <div class="operBtn">
                    <button class="btn green" type="button" onclick="save('<ww:property value="operFlag"/>','dialog','user_skill_mini_form','<ww:property value="lableId"/>','<ww:property value="userId"/>');"><i class="fa fa-save" aria-hidden="true"></i>&nbsp;保存</button>
                    <button class="btn" type="button" onclick="$css.closeDialog()"><i class="fa fa-times-circle-o" aria-hidden="true"></i>&nbsp;关闭</button>
                </div>
            </div>
        </div>
    </div>
</form>